perm filename GFTOOC.CH[MF,ALS] blob
sn#760299 filedate 1984-06-28 generic text, type C, neo UTF8
COMMENT ⊗ VALID 00005 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 @x Tell WEAVE to print only the changes:
C00003 00003 @x
C00005 00004 @x Set up terminal I/O:
C00006 00005 @x Opening packed binary files:
C00007 ENDMK
C⊗;
@x Tell WEAVE to print only the changes:
\centerline{\hsize 5in\baselineskip9pt
\vbox{\ninerm\noindent
The preparation of this report
was supported in part by the National Science
Foundation under grants IST-8201926 and MCS-8300984,
and by the System Development Foundation. `\TeX' is a
trademark of the American Mathematical Society.}}}
@y
\centerline{(This listing shows the changes for {\sc WAITS} only)}}
\let\maybe=\iffalse
@z
@x
@d print(#)==write(#)
@d print_ln(#)==write_ln(#)
@d print_nl==write_ln
@y
@d print(#)==write(tty,#)
@d print_ln(#)==write_ln(tty,#)
@d print_nl==write_ln(tty)
@z
@x Specify compiler directives:
@p program GF_to_OC(@!gf_file,@!oc_file,@!output);
@y
@p @t\4@>@{$D-,W+@} {no debugging overhead}
@{$D+@} {FIX ME!!! ???? fixme}
program GF_to_OC(@!gf_file,@!oc_file);
@z
@x Set up terminal I/O:
and |term_out| for terminal output.
@↑system dependencies@>
@<Glob...@>=
@!buffer:array[0..terminal_line_length] of ASCII_code;
@!term_in:text_file; {the terminal, considered as an input file}
@!term_out:text_file; {the terminal, considered as an output file}
@y
and |term_out| for terminal output.
@↑system dependencies@>
@d term_in==tty
@d term_out==tty
@<Glob...@>=
@!buffer:array[0..terminal_line_length] of ASCII_code;
@z
@x Opening packed binary files:
@p procedure open_gf_file; {prepares to read packed bytes in |gf_file|}
begin reset(gf_file);
@y
@p procedure open_gf_file; {prepares to read packed bytes in |gf_file|}
begin reset(gf_file,'','/B:8');
@z
@x
@p procedure open_oc_file; {prepares to write packed bytes in |oc_file|}
begin rewrite(oc_file);
@y
@p procedure open_oc_file; {prepares to write packed bytes in |oc_file|}
begin rewrite(oc_file,'','/B:8');
@z